home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
002
/
wp42msa.arc
/
WP41MOUS.DOC
< prev
next >
Wrap
Text File
|
1986-02-23
|
6KB
|
149 lines
wp41.doc - Sun Feb 23 13:36:32 1986 page 1
The wp41.arc file contains the following data sets:
WP41MOUS.DOC .... This file.
WP41.DEF ........ A MicroSoft mouse menu source file for Word Perfect, version 4.1.
WP41.MNU ........ The menu after WP41.DEF is run through the MAKEMENU program.
WP41.BAT ........ A sample setup batch file for starting the Word Perfect program
and using the mouse menus.
SAVEENV.COM ..... A program that will save your current DOS environment variables
along with the current drive and path.
Introduction.
My eyesight not being what it once was, I was finding it hard to
read the function key template that came with Word Perfect 4.1.
Also, my fairly large left hand keeps obscuring the codes on key
F10. Partly to help resolve this problem, and partly in answer to
a friend who insisted that MicroSoft Word was the way to go because
of its mouse interface; I dug into the mouse manual and coded some
menus for Word Perfect.
Since you may not agree with my choice of locations for the menus,
or the literals therein, I have supplied the source code to the
menu for you to change as you see fit.
Using the menu.
Place the menu WP41.MNU in the same directory as the MENU.COM program
that came with the MicroSoft Mouse. Before starting up Word Perfect
execute the command:
MENU WP41
A sample batch file has been included to show one way to do this.
After Word Perfect starts, your mouse will work as follows:
o The mouse can control the cursor movement.
o The left mouse button will display a menu that can also be used
as a quick help screen, since it is an image of the function key
pad. In addition, you may move the inverse video cursor to any
of the displayed keys and select one of the items.
Some of the keys cause additional menus to be displayed. For
example, if you choose the Screen command (CTL F3), a menu
with the six screen command options appears. You may choose one
of these six options, or you may choose the CANCEL option. Note:
on multi menu options, no keystrokes are sent to Word Perfect
until the last menu has been displayed. Thus, selecting "Screen"
and then selecting sub-option "Window" causes the key sequence
(CTL F3) (1) to be sent to Word Perfect, as if it had been typed
on the keyboard.
Due to the delay of key transmission, you may notice some of the
word processor's menus appearing in the background. This should
cause no problems, outside of the esthetic ones.
Certain commands require keyboard input, for example "RETRIEVE".
Whenever a function key sequence reaches a point where keyboard
wp41.doc - Sun Feb 23 13:36:32 1986 page 2
input would be required, the mouse menu politely bows out. There
is no menu, for example, to handle the "PRINTER CONTROL" function.
Thus if you click on "PRINTER" and then choose "Printer Control",
the printer control menu will appear, and the mouse will be
fairly useless, until the document is redisplayed.
o The right mouse button turns on the BLOCK command. This is useful
for grabbing large blocks of text to move or copy.
o Pressing both mouse buttons displays the "PRINT" menu as if the
Shift and F7 keys were pressed.
WP41.DEF
This is the source file for the pop-up menus. The most obvious
modifications you may want to make are menu text, menu location and
the movement sensitivity.
WP41.MNU
Since it takes a while for MAKEMENU to compile the menu, you may
want to use DEBUG to modify the movement sensitivity values. Refer
to your mouse manual under make menu to get the meanings of these
values.
To change them, just type the following:
DEBUG WP41.MNU
-e10E xx
-e110 xx
-w
-q
At address 10E is the horizontal sensitivity setting, at address 110
(hex) is the vertical sensitivity setting. Note: the defaults are
18 (hex) and 20 (hex) respectively.
SAVEENV.COM:
This is a program to save your current operating environment, for
restoration later. SAVEENV creates a batch file in the root directory
on drive C. This file, $OLDENV2.BAT, will switch drives back to the
drive that was active when SAVEENV was executed, then it will switch
to the directory that was active when SAVEENV was executed. Lastly
it will set up the environment variables that were in effect when
SAVEENV was executed.
NOTE: If you add new environment variables after SAVEENV has been
run, you may not have enough space for SAVEENV to restore your
original environment variables.
wp41.doc - Sun Feb 23 13:36:32 1986 page 3
WP41.BAT
This sample batch file sets up the mouse menus for Word Perfect. It
also illustrates how to use SAVEENV.COM.